import { fetch } from "../uitls/fetch";

const prefix = "/api/v1/authorize";

export const login = (account: string, password: string) => {
  return fetch(prefix + "/token?account=" + account + "&password=" + password,{
    method: "POST",
  });
};
